﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace planet_express
{
    public partial class Reserve : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ComprobarFechIdaVuelta(object sender, ServerValidateEventArgs fIda, ServerValidateEventArgs fVuelta)
        {
            string ida = fIda.Value;
            string vuelta = fVuelta.Value;
            if (ida.CompareTo(vuelta) > 0)
            { fIda.IsValid = false; }
        }
    }
}